package com.yuou.data.logscollection.api.feign;

import com.yuou.data.common.base.result.Result;
import com.yuou.data.logscollection.api.pojo.dto.OriginalKafkaMessageDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @author ldf 04202021
 */
@FeignClient(name = "data-logs-collection-server")
public interface ILogServerFeignClient {
    /**
     * 埋点数据写入
     *
     * @param dto
     * @return
     */
    @PostMapping("/log/userActionTrack")
    Result<Void> userActionTrack(List<OriginalKafkaMessageDTO> dto);

}
